package com.len;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

import tk.mybatis.spring.annotation.MapperScan;

/**
 * 
 * @ClassName: LenospApplication
 * @Description: web应用启动类
 * @author: Kitty
 * @date: 2019年3月9日 下午6:36:49
 *
 */

@EnableWebMvc
@SpringBootApplication
@EnableTransactionManagement
@ComponentScan({ "com.len" })
@MapperScan(basePackages = { "com.len.mapper" })
@EnableAutoConfiguration(exclude = {
		org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class })
public class LenospApplication {
	public static void main(String[] args) {
		SpringApplication.run(LenospApplication.class, args);
	}
}
